﻿namespace OT.HikiSecureCenterApis.Service.OneCard.Res
{
    public class ResAcsDevice
    {
        /// <summary>
        /// 资源唯一编码
        /// </summary>
        public string indexCode { get; set; }
        /// <summary>
        /// 资源类型，详见附录A.2 资源类型
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#ae7cd6c8
        /// </summary>
        public string resourceType { get; set; }
        /// <summary>
        /// 资源名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 父级资源编号
        /// </summary>
        public string parentIndexCode { get; set; }
        /// <summary>
        /// 设备卡容量
        /// </summary>
        public int cardCapacity { get; set; }
        /// <summary>
        /// 门禁设备类型编码，详见附录A.7 门禁设备类型中门禁设备类型编号
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#ae02ec82
        /// </summary>
        public string devTypeCode { get; set; }
        /// <summary>
        /// 门禁设备类型型号，详见附录A.7 门禁设备类型中门禁设备类型
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#ae02ec82
        /// </summary>
        public string devTypeDesc { get; set; }
        /// <summary>
        /// 主动设备编号
        /// </summary>
        public string deviceCode { get; set; }
        /// <summary>
        /// 厂商
        /// </summary>
        public string manufacturer { get; set; }
        /// <summary>
        /// 所属区域
        /// </summary>
        public string regionIndexCode { get; set; }
        /// <summary>
        /// 所属区域路径,以@符号分割，包含本节点
        /// </summary>
        public string regionPath { get; set; }
        /// <summary>
        /// 接入协议，详见附录A.6 编码设备接入协议
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#d4852837
        /// </summary>
        public string treatyType { get; set; }
        /// <summary>
        /// 指纹容量
        /// </summary>
        public int fingerCapacity { get; set; }
        /// <summary>
        /// 指静脉容量
        /// </summary>
        public int veinCapacity { get; set; }
        /// <summary>
        /// 人脸容量
        /// </summary>
        public int faceCapacity { get; set; }
        /// <summary>
        /// 门容量
        /// </summary>
        public int doorCapacity { get; set; }
        /// <summary>
        /// 拨码
        /// </summary>
        public string deployId { get; set; }
        /// <summary>
        /// 所属网域
        /// </summary>
        public string netZoneId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string createTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public string updateTime { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 状态码小于0则资源已删除
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 支持认证方式，数据为十进制
        /// </summary>
        public string acsReaderVerifyModeAbility { get; set; }
        /// <summary>
        /// 区域名称
        /// </summary>
        public string regionName { get; set; }
        /// <summary>
        /// 所属区域路径名，以"/"分隔
        /// </summary>
        public string regionPathName { get; set; }
        /// <summary>
        /// 门禁设备IP
        /// </summary>
        public string ip { get; set; }
        /// <summary>
        /// 门禁设备端口
        /// </summary>
        public string port { get; set; }
        /// <summary>
        /// 设备能力集(含设备上的智能能力)，详见附录A.44 设备能力集
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#e043207b
        /// </summary>
        public string capability { get; set; }
        /// <summary>
        /// 设备序列号
        /// </summary>
        public string devSerialNum { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        public string dataVersion { get; set; }
    }

}
